//======================================================================================
//  Apache License, Version 2.0
//  Notes:Use this command to anonymously check out the latest project source code:
//  Non-members may check out a read-only working copy anonymously over HTTP.
//  SVN checkout http://YHHLineCommandWsp.googlecode.com/svn/trunk/ 
//
//  Author:		Kevin Yang
//  Email:		Bigearrabbit@qq.com
//
//  DATE:		2013-4-6
//
//  File Name:	YHHLineCommandParamDlg.h
//
//  Notes:
//
//======================================================================================

#ifndef YHHLineCommandParamDlg_H
#define YHHLineCommandParamDlg_H

#include "CATDlgDialog.h"
#include "CATDlgInclude.h"
#include "YHHCatiaBaseDefine.h"

//----------------------------------------------------------------------

namespace YHHLineCommand
{
	/// <summary>Field Type</summary>
	/// <author>Kevin Yang</author>
	/// <date>2013-4-2</date>
	enum FieldType
	{
		FieldNone,
		FieldStartpoint,
		FieldLineDirection
	};
}
typedef YHHLineCommand::FieldType YHHLineCommandField;//alias type name

/// <summary>param setting dialog</summary>
/// <remarks></remarks>
/// <author>Kevin Yang</author>
/// <date>2013-4-9</date>
class YHHLineCommandParamDlg: public CATDlgDialog
{
	// Allows customization/internationalization of command's messages
	// ---------------------------------------------------------------
	DeclareResource( YHHLineCommandParamDlg, CATDlgDialog )

public:

	YHHLineCommandParamDlg();
	virtual ~YHHLineCommandParamDlg();

	void Build ();

protected:
	
	/// <summary>close </summary>
	virtual void OnYHHLineCommandParamDlgWindCloseNotification (CATCommand *, CATNotification* , CATCommandClientData data);
	
	/// <summary>CANCEL </summary>
	virtual void OnYHHLineCommandParamDlgDiaCANCELNotification (CATCommand *, CATNotification* , CATCommandClientData data);
	
	/// <summary>OK </summary>
	virtual void OnYHHLineCommandParamDlgDiaOKNotification (CATCommand *, CATNotification* , CATCommandClientData data);

public:
	CATDlgSpinner* _SpinnerForValueChange;//for value change Only

//CAA2 WIZARD WIDGET DECLARATION SECTION
CATDlgFrame*      _Frame001;
CATDlgLabel*      _LabelName;
CATDlgEditor*      _EditorName;
CATDlgFrame*      _FrameDirandPoint;
CATDlgLabel*      _Label013;
CATDlgSpinner*      _SpinnerNormalDirX;
CATDlgSpinner*      _SpinnerNormalDirY;
CATDlgSpinner*      _SpinnerNormalDirZ;
CATDlgLabel*      _Label018;
CATDlgLabel*      _Label019;
CATDlgLabel*      _Label020;
CATDlgLabel*      _LabelPoint;
CATDlgSpinner*      _SpinnerStartPointX;
CATDlgSpinner*      _SpinnerStartPointY;
CATDlgSpinner*      _SpinnerStartPointZ;
//END CAA2 WIZARD WIDGET DECLARATION SECTION
};

//----------------------------------------------------------------------

#endif
